package com.lmk;

public class ComputerText {
    public static void main(String[] args) {
        Computer  lenovo=new Computer();
        lenovo.setCpu(" i7 1103");
      lenovo.setMemory("32GB");
        lenovo.setHd("2TD");

        lenovo.bootstrap();
        System.out.println("内存为"+ lenovo.getMemory());
        fixed(lenovo);
        System.out.println("内存为"+ lenovo.getMemory());
    }
    public static void  fixed(Computer computer){
        computer.setMemory("4TB");
    }
}
